package com.demandbreakdown.xiyun.model.dto.space;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 加入空间DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "加入空间DTO")
public class SpaceJoinDTO {

    @Schema(description = "邀请码", example = "A1B2C3D4")
    @NotBlank(message = "邀请码不能为空")
    private String inviteCode;
}
